all:testc++ mycode
testc++:testc++.cc
	g++ -o $@ $^ -std=c++11
mycode:mycode.c
	gcc -o $@ $^ -std=c99
.PHONY:clean
clean:
	rm -f mycode testc++
